/*
 * @Description: 用户菜单列表
 * @Author: seadon
 * @LastEditors: seadon
 * @Date: 2022-01-13 15:20:31
 * @LastEditTime: 2022-01-19 17:59:52
 */
import { i18n } from '@/locales'
// import { itemProps } from 'ant-design-vue/lib/vc-menu'
const { $t } = i18n
import { useStore } from 'vuex'
export const headList = [
	{
		name: $t('menu.navTitle.OrganizationChange', '组织切换'),
		value: 'OrganizationChange',
		inco: 'icon-zuzhiqiehuan',
	},
	{
		name: $t('menu.navTitle.personalCenter', '个人中心'),
		value: 'personalCenter',
		url: 'PersonalCenter',
		urlType: 'inside',
		inco: 'icon-gerenzhongxin',
	},
	{
		name: $t('menu.navTitle.delegation', '委托授权'),
		value: 'delegation',
		url: 'delegation',
		urlType: 'inside',
		inco: 'icon-weituoshouquan',
	},
	{
		name: $t('menu.navTitle.websiteAccess', '访问官网'),
		value: 'websiteAccess',
		url: process.env.VUE_APP_WEBSITE,
		urlType: 'external',
		inco: 'icon-fangwenguanwang',
	},
	{
		name: $t('menu.navTitle.helpManual', '用户手册'),
		value: 'helpManual',
		url: process.env.VUE_APP_USER_MANUAL,
		urlType: 'external',
		inco: 'icon-yonghushouce',
	},
	{
		name: $t('menu.navTitle.developerCommunity', '开发者社区'),
		value: 'developerCommunity',
		url: process.env.VUE_APP_DEVELOPER_COMMUNITY,
		urlType: 'external',
		inco: 'icon-kaifazheshequ',
	},
	// {
	// 	name: '版本',
	// 	value: 'version',
	// 	url: process.env.VUE_APP_CONTROL_STATION,
	// 	urlType: 'external',
	// },
	{
		name: $t('menu.navTitle.layoutStyle', '布局风格'),
		value: 'layoutStyle',
		inco: 'icon-bujufengge',
	},
	{
		name: $t('menu.navTitle.signOut', '退出登录'),
		value: 'signOut',
		url: process.env.VUE_APP_LOGOUT,
		urlType: 'external',
		inco: 'icon-tuichudenglu',
	},
]
export const systemTools = {
	name: $t('menu.navTitle.controlStation', '管控台'),
	value: 'controlStation',
	url: process.env.VUE_APP_CONTROL_STATION,
	urlType: 'external',
}
